@import './hover.scss';

body, html {
  min-width: 1260px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}


.w-content-box {
  width: 1200px;
  margin: 0 auto!important;
  position: relative;
}

// 全局颜色 ============================
// 导航栏北京颜色
.w-global-color-bg {
  background-color: rgb(84, 92, 100);
}

// 下划线
.w-text-bottom-line {
  text-decoration: underline;
}

.w-text-center {
  text-align: center;
}

.w-text-warp {
  word-break:break-all;
  word-wrap:break-word;
}

.w-text-right {
  text-align: right;
}

/*整个界面*/
.w-text-line-1 {
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.w-text-line-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-wrap:break-word;
}

.w-text-line-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* flex  ========================================================*/
.w-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.w-flex {
  display: flex;
}

.w-flex-between {
  display: flex;
  justify-content: space-between;
}

.w-flex-between-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* float  ========================================================*/
.w-float-right {
  float: right;
}

/* 鼠标  ========================================================*/
.w-pointer {
  cursor: pointer;
}

/*文字添加底部下划线*/
.w-hover-text:hover {
  text-decoration: underline;
}

/* 图片 ========================================================*/
/*图片填充*/
.w-image-fit {
  background-size: cover!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
}

.w-image-fill {
  background-size: contain!important;
  background-repeat: no-repeat!important;
  background-position: center!important;
}

.w-round {
  border-radius: 50%;
}

/*  input 标签隐藏 */
.w-input-hid {
  width: 0px;
  height: 0px;
  overflow: hidden;
  border: none;
  position: absolute;
  left: 0;
  top: 0;
}

/* 占位符样式 */
textarea::-moz-placeholder,input::-moz-placeholder { color: #ccc; }
textarea::-webkit-input-placeholder,input::-webkit-input-placeholder { color:#ccc; }
textarea::-ms-input-placeholder,input:-ms-input-placeholder { color:#ccc; }
